<div style="background:#fafafa;padding:10px;width:300px;height:300px;">
    <form id="add" method="post" novalidate action="data.php">
        <div>
            <label for="name">Name:</label>
            <input class="easyui-validatebox" type="text" name="name" data-options="required:true"></input>
        </div>
        <div>
            <label for="email">Email:</label>
            <input class="easyui-validatebox" type="text" name="email" data-options="validType:'email'"></input>
        </div>
        <div>
            <label for="subject">Subject:</label>
            <input class="easyui-validatebox" type="text" name="subject"></input>
        </div>
        <div>
            <label for="message">Message:</label>
            <textarea name="message" style="height:60px;"></textarea>
        </div>
        <div>
            <label for="language">Language:</label>
            <input class="easyui-combobox" name="language"
                   data-options="
                                url:'data.php',
                                valueField:'id',
                                textField:'text',
                                panelHeight:'auto'
                        ">
        </div>
        <div>
            <input type="submit" value="提交">
        </div>
    </form>
</div>
<script>
    $("#add").form({
        success:function(data){
            $("#add").form('clear');
            $.messager.alert('Info', data, 'info');

        }
    });
</script>